//
//  WYStoreModule.h
//  JJEW_COMPANY
//
//  Created by 曹运 on 2017/3/16.
//  Copyright © 2017年 admin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WYUserMessage.h"
#import "WYStartModel.h"
#import "WYMyInfo.h"
@interface WYStoreModule : NSObject

+(void)storeMyInfo:(WYMyInfo *)info;
+(WYMyInfo *)currentMyInfo;




+ (void)storeToken:(NSString *)token;
+ (void)storeUserId:(NSString *)userId;

+ (void)storeRegisterId:(NSString *)registerId;
+ (NSString *)currentRegisterId;

+(NSString *)currentUserId;
/**
 *  获取当前Token
 */
+ (NSString *)currentToken;

/**
 *  清除token存储
 */
+ (void)cleanToken;

/**
 *  获取当前Token
 */
+ (NSString *)currentTempToken;
+ (void)storeTempToken:(NSString *)token;
/**
 *  清除token存储
 */
+ (void)cleanTempToken;





+(void)storeUserSize:(NSString *)size;
+(BOOL)isUserSize;
+(void)clearSize;

+(void)storeUserName:(NSString *)name;
+(NSString *)currentName;

+(void)storeUserMessage:(WYUserMessage *)userMessage;
+(WYUserMessage *)currentUserMessage;

+(void)storeStrat:(WYStartModel *)userMessage;
+(WYStartModel *)currentStart;

+(void)storeLastStrat:(WYStartModel *)userMessage;
+(WYStartModel *)currentLastStart;




+(void)storeTempUserId:(NSString *)userId;
+(NSString *)currentTempUserId:(NSString *)userId;
+(void)cleanTempUserId;









@end
